package mhcs.client;

import java.util.TreeSet;

import com.google.gwt.event.dom.client.ClickEvent;
import com.google.gwt.event.dom.client.ClickHandler;
import com.google.gwt.user.client.Window;
import com.google.gwt.user.client.ui.Button;
import com.google.gwt.user.client.ui.PopupPanel;
import java.util.Iterator;

public class ManualConfigButton extends Button{
	public ManualConfigButton() {
        super("Populate Manual Map");
        
        addClickHandler(new ClickHandler() {
            public void onClick(ClickEvent event) {
            	
            	
            	
            	MainMenu.getManualLanding().clearGrid();
            	
                MainMenu.manualList = MHCS.dataSet.getTree();
               // MainMenu.manualIter = MainMenu.manualList.iterator();
                
                MainMenu.getManualLanding().markUnuseable();
                MainMenu.getManualLanding().fillMap();
        
            }
        });
    }
	
	
}
